<template>
  <div>
    <avue-crud
      ref="crud"
      style="width:100%"
      :data="loadData"
      :option="tableOption"
      :table-loading="loading"

    >
     <template slot='paySerials' slot-scope="scope">
        <div v-for="(item,index) in scope.row.paySerials" :key="index">
          <span>{{item.payChannelNo == '01'?'微信':(item.payChannelNo == '02'?'储值卡':'支付宝')}}</span>
        /
        <span>{{item.payAmt}}元</span>
        </div>
    </template>
      <template slot="menu">
        <el-button type="text" icon="el-icon-view">详情</el-button>
        <el-button type="text" icon="el-icon-phone-outline">派单</el-button>
        <el-button type="text" icon="el-icon-sold-out">退货</el-button>
      </template>
    </avue-crud>
     <template>
      <div style="width:100%;position:relative;height:100px">
        <el-pagination
          :page-sizes="[10, 20,30,40, 50, 100]"
          :pager-count="7"
          :current-page="page.current"
          :page-size="page.size"
          :total="page.total"
          layout="total, sizes, prev, pager, next, jumper"
          style="margin:2% 0;position:absolute;right:1%"
          background
          @size-change="sizeChange"
          @current-change="currentChange"
        ></el-pagination>
      </div>
    </template>
  </div>
</template>

<script src='./waitingOrder.js'></script>

<style lang="scss">
</style>